package com.example.image.demos.service;

import com.example.image.demos.dto.ImageDto;
import com.example.image.demos.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.image.demos.util.Result;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.io.FileNotFoundException;
import java.io.IOException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ts
 * @since 2024-11-18
 */
public interface IUserService extends IService<User> {
    public boolean uploadOSS(@RequestParam("file") MultipartFile file) throws IOException;
    public String uploadQi(@RequestParam("file") MultipartFile file,ImageDto imageDto) throws IOException;
}
